@JS()
library;

import 'dart:js_interop';

/// Get a shared singleton {@link QuickJSWASMModule}. Use this to evaluate code
/// or create Javascript environments.
///
/// This is the top-level entrypoint for the quickjs-emscripten library.
///
/// If you need strictest possible isolation guarantees, you may create a
/// separate {@link QuickJSWASMModule} via {@link newQuickJSWASMModule}.
///
/// To work with the asyncified version of this library, see these functions:
///
/// - {@link newAsyncRuntime}.
/// - {@link newAsyncContext}.
/// - {@link newQuickJSAsyncWASMModule}.
@JS()
external JSPromise<JSAny> getQuickJS();
